Random seed for ui.js and api.js