refactored js to function as a jquery plugin

 requires geojson_docs, and allows for additional options