Removed all JSHint errors