Fixed tab indents, few comments added to JsTemplate.js.