Debugging JavaScript
Finished debugging, minor revisions