Java script in ABAP

Generate Dutch CSN random number. Javascript btw taken from a website (do know eny more whichon but I owe someone credits for that).