add jsapi stub
fix model for jsapi
Merge pull request #3 from tuulos/master

add jsapi