Added js refresh for webcam image