In this case every fragment has a separate JS, so at the end we are loading only the resources we need.