Remake JavaScript