Removed script from footer and added ie conditionals.

Conditionals used to stop scripts loading for IE7 and below.