add js files and fix .gitignore - part 2