Remove deprecated jQuery API usage in the markdown directive