Tried to fix jquery 1.7 global var in stream reader