cleaned improper jqeury code