Refactored to better coding standards
Fixed little bug
Merge pull request #114 from norberhuis/refactorWebbrowserLoaded

Refactored to better coding standards