Rework js