Modified version for Pythonista

Don't merge. It uses HTML5 markup and skips a couple modules, also creates a local server to visualize output.