Refonte JS constructions