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....
Merge branch 'master' of https://github.com/NUKnightLab/juxtapose
Merge branch 'mihi-tr-master'
Fix merge conflicts