Updated push.js to send POSTs for registration

Removed some debug alerts