Compiled several function into one .js file 'random_tools.js'.