Added onLoad listener capabilities to webbrowser.py