added map scripts to layout head