just abstracted the OS specific implementations of launching the default browser into a function