fixed errors from jsint
merge
Merge branch 'master' of https://github.com/skeie/PT