The PHP script no more waits for the shell commands to complete before returning response to client. Moreover, radio playing/pausing is now more smart, it decides what to do depending on the status of mpc, instead of a js variable