Added JavaScript support for display the webpage