Ref #3000 remove a javascript debug log