minor code refactoring
show index.html if it exists (issue #6)