clean the JS style