Use a requirejs.conf.js, use lib directory for libs
Don't show both the rich embed and thumbnail for rich attachments. Only show the rich embed and ensure it is sized properly