implement javascript dimextractionfn
typo
fix search doc links and code
add DimensionSpecs docs