fixed copydb dbnames and loader_*.js load statements #869