Update Javascript - Widget