update frame.js layout

update frame.js setup the global ui layout for app.