Refactored.  Added px to the style object.  Removed some unnecessary methods.