[tw5] how to add javascript to global

I want to use the fa on https://fontawesome.com/

But need add a script first the html is like :

<!doctype html>

How to add teh code to global ?