Javascript array should now be accepted by php