Added analysis menu to edit page.  Made panels.js dependent on script.js