Fixed iPad rotation support. Removed dependencies on local HTML files.