Update apigee.js

use of 'self' on ln 1285 was causing an error, since self=this isn't set until ln 1091