changed order of scripts in head