Fixed JSHint errors

Fixed JSHint errors