further linting, found that a function name used is reserved in older browsers