Fixed all JSHint errors