added db manager  js script