Refactoring.
Just work on fixed parameters.
Get parameters from DOM.