Returns a random integer in range [min, max] (inclusive)
@param {Number} min The minimum possible value (inclusive)
@param {Number} max The maximum possible value (inclusive)
@return {Number} A random number between min and max
function (min, max) {
                    min = parseInt(min, 10);
                    max = parseInt(max, 10);

                    if(isNaN(min) && !isFinite(min)) min = 0;
                    if(isNaN(max) && !isFinite(max)) max = Number.MAX_VALUE;
                    return Math.floor(Math.random() * (max - min + 1)) + min;
                }