updated load() and saved()

Fixed a huge error and adds HTML5 support