Moved jQuery functions from head to .js file
Merge pull request #2 from tanyalsweeney/master

Merge in separate .js file