Update controller.js

Add () for instantiation of constructor
Merge pull request #161 from joemarini/master

Update controller.js