Cleanup sanitycheck.js