A practice in jQuery plug in creation that does simple length conversions