Update db.js

Extracting information from the database & putting into HTML format

TODO:
counter for load limit.