Merge BBM.fn.API into BBM.js