Javascript not executed immediately on a button click

Hi,  I have a page that has some buttons ( like an audio/video player which Play, Pause, Stop, forward, and backward). On clicking those buttons I am calling a nanoflow there I am calling a javascript action. but before that script, I am retrieving a list and updating an object ( Non-Persistent entities only we have). In Local I can able to see immediate responses upon clicking the buttons. but in the cloud ( acceptance ), its looks like some delay between click and javascript execution. Is that retrieve and update activities cause the delay?     Note: We are using only Non-Persistent entities    
1 answers


I don't think the delay is because of retrieve as they are non-persistent.

couple of questions to think along:

Are you using any calculated attributes?

Did you check browser console and network if there any errors?