added getParameters.js