Is "alert("debug");" working on standard JavaScript classes ?