Lassie-js refactor.