Smoothly move js to cf