Workin to fix overlay issues

Especially on index, there is still a fouc issue. I placed the jquery
overlay call in the bottom script tag and it seems to work better than
in the one above the body.