simpler js modal init