fixed jquery issue
by moving jquery script tag to header