Only define jquery once in the template files

There was a different version of jquery being used on the surelink tool.
This wasn't necessary so I've made it use the same version the rest of
the app is using, and consolidated the jquery include code into a
seperate template file.