Changes so it works in a chrome packaged app. Removed Function constructor so it works with chome packaged app content security policy. Moved around a use strict literal because the esprima parser in r.js was choking on it.