Moved all code into one html file due to caching problems with .js and .css files. Adjusted css and js to dimensions of iPad.