Adding JS to allow ad placements