update index.js, add advanced BAE Push API