adds code for web page manipulation