If result of evaluated javascript is a number return it as Dimension.