MaDnh javascript library