Create bootstrap modals with javascript