To lower case string comparison
JSHint code cleanup