C js suggestions

- Automates creating the nock calls as opposed to making new ones every time