put js on head to fix some pages
remove the async attribute of JS