Add javascript-only version