Read the comments in the code for more information about this usage of mapper.js.
For more options and other possibilities, read this article from the creator of mapper.js.