Handle multi-word expressions in the js command

Closes #11