jshint fixes
Events are delegated after everything is rendered