Added examples to search script ;-)
Removed some unused variables in avg-map.js.