fix bug on processing events
rebuild nojs files