improved <head> file, added custom css function