Fix addCallback() method in atmosphere.js: added missing inArray() function.