add function(add) to main.js
Merge pull request #24 from kyatabe/add

add function(add) to main.js