Cleaned up CDVWebViewProxy code for redundancies.