js clean up.