Fixed JSHint for client side code
Fixed JSHint errors, don't check on unused functions