fixed reverse IS again, this time properly
upping templates.js