Function stubs

Added function stubs for all actions
Merge pull request #13 from LingoLasse/apifunctions

jslib: Function stubs