Added JS file and gitignore