Javascript file moved to header HTML