include jquery but doesn't function as expected