reverts all ~~ to parseInt( , 10)
Merge branch 'master' into js-improvements