Update namespace.js fix memory leak in acks

updating namespace.js similar to socket.io-client/dist/socket.io.js such that it clears the acks object after running the ack function... prevents memory leak.