Add reload implementation via jQuery in sample code