How to use velocity.js?

I’m trying to use velocity.js in my app but i’m having some difficulty.

<script src="cordova.js"></script>
<script src="lib/velocity/velocity.min.js"></script>
<script src="js/app.js"></script>

The fact is strange because if i try it from the browser everything is ok, but once i build for ios it doesn’t work, neither loading velocity before the end of body.
Any suggestions?