Php Get Random Element From Array Javascript Function Arguments