added js library for db and loaded in html

Once more with feeling.