Declared var JS_DEBUG to prevent failing tests