style.left is often a string containing both value and unit. At least, it should be. As a result, +50 will append "50" to this string, leading to an invalid property value and thus no change.

You have to parse the integer part out of style.left, hope that the unit is px, add your integer to the integer part and write the result out again.