Add widget js class