Searching in javascript/mac/subtle