Simple feature flipping mechanism for node and the browser