js file, styling & onload function on frontpage