Swapped locations inside of document ready.

Seems to help Safari a bit. Still can't ajax.