Split vendor and app javascript. Closes #42