Fix parseInt function call.
Merge pull request #4264 from dmwm/fix-parseint

Fix javascript parseInt function call.