Finally jquery problem solved!!!
Minor changes, unneeded scripts removed