Removed cruft. Optimized templates.js to not recompile templates all the time...dunno WTF I was thinking.