Offline.options + AMD

Offline.options can now be defined before including offline.js
setTimeout(init, 0) trick is not working using AMD so it will be particulary usefull in this case