speed up js load by dynamic.