Fix ADMIN_ONLY for embedded mode
Fixes for Amanda
revert dispatch function to fix perl ajax
restructure javascript for pages
Merge remote-tracking branch 'origin/master' into dev