fixed JS to account for bower components being ignored but other vendor files being saved in repo if they dont come from bower