Nice work! I've been looking at using the REPL to make some web stuff too, so I understand the challenges involved here!
BTW we are running a Swift hackathon @ GitHub HQ in a few weeks, it would be cool if you could join us: http://www.swifthack.splashthat.com