Update coins.js

Code cleaning.