Add a file for javascript utilities and a function for constructing absolute urls.
fixup! Add a file for javascript utilities and a function for constructing absolute urls.
Merge pull request #342 from jgraham/utils

Add a file for javascript utilities