Do not rely on 'debug' key for JS build.