https://doc.atozed.com/en/iw14/develop/using-javascript/custom-javascript-with-scriptevents/
Custom JavaScript with ScriptEvents