Work on js modals