fixed sum adding twice and removed local jquery
removed local jquery