Help for onReady function

@russian-dima Yes I meant you can create a function and put the code in the function then call the function in onReady. Actually I meant this :slight_smile: To make the code clear.