small changes to remove duplicate jquery script inclusion