use a better way to make js driver to work with pre create db