HTML implementation in JavaScript for ads displaying by percentage.