clean up JS