No, there has to be a normal way to do this... I'll rewrite it without Boolean and without JSHint complaining...