add js library for random seeds
add random seed functionality to model
remove unused code