reduce js file in head tag to optimize js load