HTML Viewer seems not running the website's Javascripts
HTML Viewer is part of Android OS and i felt it has no javascript engine, just HTML Viewer not HTML Browser.

Try to access it to your browser

file:///sdcard/yourfile.html