injects user's last submission code in exercise editor