js to js-cleanly