modified md js