A javascript decision engine with an oddball take on heuristics