Perform display related DOM transforms in JS

Should be put in Extension:MobileApp in the future, and be
reusable across iOS/Android.

Right now moves the infobox below the lead section.

Change-Id: Ic652862c3e5f94341c611655d70ba2c569536fbe