Fixes

I understand now. cobalt.js functions were not initialized anymore for some reason. This fix it:
https://github.com/cobaltcrm/cobalt/pull/80/files#diff-c586adf6114271aab2bffce744f6afd8R410
Please, delete this code. It shouldn't be needed anymore.