Ya. Tried out the boolean math in the javascript console. Not fond of this implementation. I'll refactor.