Update javascript.xhtml