côté client unique génération de jetons javascript

var now = new Date();
  timestamp = now.getFullYear().toString(); // 2011
  timestamp += now.getYear().toString(); //  
  timestamp += now.getMonth(),
  timestamp += now.getDate(),
  timestamp += now.getHours();
  timestamp += now.getMinutes();
  timestamp += now.getSeconds();
  timestamp += now.getMilliseconds();
Aamir Farooq