Run your event bindings before that pesky inline JS.