Fix CKEDITOR issues when in production mode

Fix issues with CKEDITOR when Rails is using sprockets to digest
javascript files.