This should only ever be:
var convertToCurrency = this.getCurrency( arguments.convertToCurrencyCode )

Never call the DAO directly like that