Fixes messed up script tag and margins