Bug 998799 - alameda.js depends toString()-ing functions

v1.3t manual merge of master commit 2abac39da5cf2c600df1a8ff25bf0d69420043b8
Merge pull request #18532 from jrburke/bug998799-1.3t-normalize-alameda-defines

Bug 998799 - alameda.js depends toString()-ing functions r=asuth,mcav a=1.3T+