Add language: javascript to the design doc
Allow inheritance of the Database class