refractor for dependency load
requirejs working