javascript and jsp update