FORUM-540: Update function initJavaScript in UIExportForm.java