Set Ratio to the global context if needed

https://github.com/LarryBattle/Ratio.js/issues/41