Javascript database, improved document parser, test files