[JS] Build out a push object for web