further JS scheme work