app_front.js: added; nw: tray setup, extjs loading