remove trailing comma in object literal
Use var name 'event_package' instead of 'package'