Remove deprecation message in JS console