Convertir píxeles en el número JS
parseInt(MyPixelsString, 10);
sauce : https://stackoverflow.com/questions/3024084/jquery-javascript-how-do-i-convert-a-pixel-value-20px-to-a-number-value-2
Nikita Gourevitch