Removing some test code I accidentally pushed. Added some js doc documentation.