reorganize js; add js lazyload