small but important fix to padding behavior: need to parseInt the existing bounds before applying padding value, otherwise you end up appending the padding as a string instead of adding numerically.