Javascript Generate Secure Random String Php