Fixed events firing
Added support for viewbag