moved javascript out of the templates, fixes #249
added some indentation, refs #249
Merge pull request #507 from gwu-libraries/t249-remove-embedded-js-coding

moved javascript out of the templates, fixes #249