added popup html and script to get revenue