Stop the madness pt1: JSHint

Possibly the most boring code review in the world.
I think io here should now also be named socks to be consistant