fixed gitignore and added missing js directories