updated importer for spans. cleaned scalable.js.