refonte construct js