The easy mode template parser in JavaScript.