adding http.java to browser side