Move scripts to footer and update jQuery
Move scripts to avoid "jQuery is undefined"