function getVariables (n) {
            var i,
                obj = {};

            for (i = 0; i < n; i++) {
                obj[String(i)] = '';
            }

            return obj;
        }
Generates a object with n variables

@example
getVariables(2)
{
   '0': '',
   '1': ''
}

@param {Number} n - Number of variables
@returns {Object}