Random Init function done. Stringcopy functionality in JS still to be looked into.