Updates for rails 4, ckeditor >= 4.0.7