Added px-to-em function from Neat