new version of the JS component