routing javascript??
Hi folks,

I am now using ratchet + jquery + bootstrap for my mobile web project javascript framwork, so far get good  experience on it. 

But I got a problem is, in old codes, I have wrote some javascript in page, but it wont works once it is rendered by push.js. if I refresh that page, it works. but it doesn't work on push.js

```
<div>
..
</div>
<script>
(function(){
.... som functions
});
</script>
```

Or should I use a routing javascript and rewrite those old inline javascript function?
What routing javascript library was recommended to use with push.js? 
or better approach write directly on 

```
window.addEventListener('push', function(){
  // blah blah blah callback
});
```

Thanks!
