Modelling of ELM mitigation at JET