Fix permalink.js syntax error

Remove extra } in updateURL function
Merge pull request #3 from shepdl/master

Fix permalink.js syntax error