link to index for erro pages
check if file exists before serving it
dummy js file