implemented a pure AJAX process bar
removed unneeded variable