Why I Never Assign “Execute JavaScript” to Button Success Actions

How to trigger javaScript from button clicks without interfering with the timeline.