Update head.html

Moved responsive retina js here from footer to try to avoid FOUC.