markdown javascript parser