JS-ifying