Update jquery.ptemplate.js

Linted with jshint