Enable various compiler checks for js_fragment builds.