Add html5 support for IE, device width set
Add ability to call restoreState manually
Fixes #13 and fixes #14