Converted footer to js injection from global assets