Typo correction
new API js demo
direction enum wip