initialise JSLint using upstream functions instead