Searching in javascript/atoms/fragments