Update controller.js

Add () for instantiation of constructor