Refactor hook-related Given steps in JS stepdefs

*Push the how down!*