improvements in the JS area