When doing rapid iteration on web based games in Firefox, I recommend making sure you disable your cache (f12 to bring up developer tools > Network > Tickbox for Disable cache) to stop exactly that kind of thing. Otherwise ctrl-f5 seems to do the trick.