adjust timing of second jump'n'run animation
refactor and externalize the JavaScript code
minor changes (move code around, and renaming)