Optimized page loading time by using async loading of js