Added draft JS API for first two categories from Tina & Andy.
Merge pull request #1 from agryc/master

Added draft JS API for first two categories from Tina & Andy.