Fix some style errors

This is a legitimate bug, caught thanks to jsHint! :D