Added the last fix for permanent links. This should fix things so that you can copy the permanent link to the components.
Fixed a few of the jshint errors that I forgot to fix before my commit.
Merge pull request #6 from Jedwondle/master

Added the latest fix for permanent links.