debug: before loading js module, we should update the number of the module which to be loaded