how to test javascript in chrome