Corrected a small bug in update of js, and some file cleanup
Merge pull request #4 from ukdtom/tommy-work

Corrected a small bug in update of js, and some file cleanup