Update manifest when copying assets

These changes are ported from tinymce-rails.