Update Controller.js

Returns headernames from convert function