Update services.js

attempting to add http push functionality