Update mkd and add rst to work better with UA-style JS