complete guide to modern javascript banner