Update jquery.ptemplate.js

Added support for conditionals