FIX behavior on /sp.search?q=ecog on default restype

- this could even happen on browser, when js is not enabled
Merge pull request #13 from jangxyz/FIX-search-without-javascript

FIX behavior on /sp.search?q=ecog on default restype