upgrading several js files and moving some to static/js; minor updates to plugin_framework.html