prettier formatting
change order javascript execution
remove opening of links in new window