(#1830) - fix browserifiablity