Bootstrap files added and a seperate function created to appendchild in HTMLDocument