Test page: js added; ScriptableObject: Added functions for js calls; PluginInstance: Moved publishing/fetching code to scritableobject function calls