If you prefix your numbers with 0
, you're specifying them in base 8. 015
is therefore 13, and the sum is 18.
Use the second parseInt argument to force a base:
var a = '015', b = '05';
var output;
output = parseInt(a, 10) + parseInt(b, 10);
alert(output); // alerts 20