changed some more files to be JSHint compliant