added .gitignore.  cleaned up JS