Exploring how to catch javascript bugs