Wrap return value into JS array
remove some debug msg
Merge pull request #5 from myl2821/master

Wrap up return value