Updated to include latest browser code that is Java 1.6 compatible