Fixing bug in shotgun.client.js
2.2.1