modified:   ws.py - mobile viewing support