took js out of view and put it in a file
removed js from print view and put it in app js file
Merge pull request #115 from feministy/print_js

print functions moved into JavaScript