Is there a tab issue here? Are you using 4 spaces for tabs? JSHint should have complained about this, but I may have forgotten to add that requirement.