implemented code to allow for futue testing on UIWebViews (YAY!)