I am optimizing a site, but I have noticed that some pages where I have used javascript and jquery, that part is not showing in the Google cached page. I have also heard that Google crawler can't read javascript and jquery. Please suggest me that should I remove the coding from the page in order to indexing the page correctly?
I wouldnt say you have to remove the coding from the page to index correctly. Unless it is something you want to index. To explain with an example : If I'm populating some heading with Javascript - then it is better to make it static. If you are just doing something fancy for the user - Ignore google. Google doesnt want to see that anyway. Hope I made it clear.
Google crawls JavaScript for several reasons, but any text that is generated by or within JavaScript is not considered for ranking purposes. They primarily scan JavaScript to discover links and to determine things like whether or not "hidden" text can be made visible to the user.