Solution:1
This seems like a bug with Revolution Slider(not really sure) However this is how I went about fixing it. Edit your functions.php
and add the following:
add_post_type_support( 'page', 'excerpt' );
This code modifies the default WordPress content type ‘page’ to add support for excerpts.
After you’ve done this, edit the page that shows the Javascript code in your search results and add content to the ‘Excerpt’ field for that page and save. Search again and you’ll see that the code is no more.