A simple javascript db