Feature/js cleanup

This is an attempt to clean up a bunch of old code in ww2 (mainly from the htdocs/js library).

Before pulling this, I think there are some other things to do:
1. I have currently moved everything not needed to the htdocs/js/delete-me folder.  I thought this would give us one more chance if we break something, I'm thinking the better way to go is to just delete it and can recover it from git if needed. 
2. The htdocs/js directory still has some subdirectories that I don't think are being used, including bower_components and components_old.  I have grepped through the code and can't find anywhere in ww2 that uses these.  I'd recommend that we delete these too.  
3. The vendor and legacy subdirectories are used all over the place and I think we should just leave these alone.  An alternative is to actually use bower_components for the js libraries and then all the pages should call this directory.  We can then use bower to get updates as needed.  

Basically this pull shouldn't do anything functionally.