javascript framework, some classes etc. for db