modified BaseScreen.java for nodejs and java webservice.