Improving Javascript functional programming with Polyethylene