Replaced TryGetCefBrowser with GetCefBrowser in some methods
Added support for javascript flags