Changes to get_bag_words and fixed issue with highlight.js script in result.html