If I write a Javascript and want to debug it, what's the best way to do it. The browser just says, "error in the page!"