fix JS errors
Merge branch 'master' of github.com:picketlink/picketlink