adding scripts to head and nav corner dropdown