suppress some javascript warnings