Fix DOM for firefox
Always set ratio with adaptiveRatio, fixes #588
Add aliases for event handlers