Minor js clean up