init AMD modules on DOM elements