Javascript can be edited on the admin/basic page for Enterprise tier games during development.
This is not recommended for production use. Instead push all your client js to the /js/ top level directory in your git repo and import them into dulst.
Dulst regularly fires off jQuery events that you may bind on. Example:
$(document).on('dulst:play:layoutComplete', function () {
// your response here.
})
Events list:
$.event.trigger('dulst:play:layoutComplete')
$.event.trigger("dulst:gameLoad");
$.event.trigger('user:loadProfile')
$.event.trigger('user:login')
$.event.trigger('dulst:updateLibrary')
$.event.trigger('dulst:cardView')
$.event.trigger('dulst:renderCardList');
$.event.trigger('dulst:newPlayerJoinGame');