reworking the jS