added some jquery and javascript