Fixed the javascript code in the conversion.jsp