The event object needs to be passed into js function.
Temporarily lockdwon i18n version to fix build.
Fix build.sh for sample.
Loosen friendly_id restriction.