remove template out of js for area question
go on refactor
Merge pull request #29 from charleschu/charles/some-refactor

READY: remove template out of js for area question