Update endowments.js

Correct variable name for upcoming -rails push.