No longer need randn in javascript