added working version using local webserver