Fixed JSHint
Removed debug nonsense