added reverse.js and updated html