Added a fallback event limit for js widget if one isn't defined (return 5 instead of default 25)