fixed url change bugs
Merge branch 'master' of http://github.com/ktravis/temple.js