added js and .gitignore files