Add Opal.compare helper
Enumerable#max raises when it can't compare elements
Enumerable#min raises when it can't compare elements