Changed javascript methods to use custom fetch.pluribus event triggers