Debugging code and refreshing broswer to find next line of bad code