Cleanup of movenhit.js