missing `var` statement in `search` from `asset.js`