The map seems to conflict with prototype.js - replaced by for

Fixes #31 on github.

The map.call() used in scanPage() seemed to be the culprit for conflicts
produced with prototype.js

Also it's good practice to use for loops not map for functions with side effects....