[FIX] point_of_sale: uncrash widget.js

Error during forward port