Explanation of parseInt addition to variables