javascript object input (JOI) - Pump