Replace hardcoded path in the coffescript files in favor of 'window.location.host'