correct the loading of module
some changes to make grunt server html5