`api_result.query` does not seem to exist, so it's resulting to an `undefined`. Also, the search URL changed to: http://www.plosone.org/search/advanced?unformattedQuery=everything%3Adinosaurs :)