moved script for jquery up to the top