Only load nopt on Node.
Split PhantomJS Console adapter into its own class instead of having if-statements in the Browser adapter.