make event listener example use boilerplate.
make canvas banner ad use boilerplate.
clean up code.