moving all the js to the public/js folder in prep for angular