Error caught in Page: ReferenceError: Cannot access 'html' before initialization