fixing javascript live status