Update Browser.java

Navigate() method updated to make it Java 6 compliant