Utilities for Javascript plug

Ok, the only reason span was used was to match the condense output, but since its also matching the clang plugin, it might be better to rename it Extent.