integrated gui.js