create "report" using js and then display calculated data.

Hello.

I want to create report which ask user for 2 dates (start and finish date for report) and then display result on screen which was calculated in JS using entered dates.

As i think it is nesecary to use wizard(1st of them asks the dates and second display result), and after I created a new item in the menu that should run wizard with my format - but when click on the menu item - nothing happens.