Modularized dynamic.js