add  js in widget