Removed some template crap; added NodeJS's requirejs module.