#52 r13185, js code refining

1. remove CDN attribute from template files.
2. indent as tabs.