JSLint validation
fixes index removed