make it possible to add extra things to the headers, add all the js we need (I think)