Ticket #1164: Adding js fix in absence of a css fix to render embedded media's width properly while keeping it aligned in center.