Support for Device without Local Storage and onload functions transferred