Changes made by matglas86 to widget js url construction.