moved _layout html boilerplate into reaxer server middleware