fixed js serving
we have database initialization code