some code cleanup on webview hadling
Merge pull request #132 from santiycr/master

Some code cleanup