Fix JavaScript/JQuery and Margin changes