renamed index_handler.js to main_handler.js