IE specific changes

- Added close methods so that IE does not block on operations
- Corrected Version of database from String to number