Split up less from js.

Fixes #1