Feature/js syntax

/cc @veged