Fix remaining_credit error in JS
Merge branch 'master' of https://github.com/bcroesch/perky