Minor changes to satisfy JSLint