serves functional JS app