improve js package and resource map build, better structure walker, prepare for new basis.require full support