coins.js does not have a constructor