hypothesis controller.js