fix error display
remove onclick attributes, this fixes issues on modal window
use custom jquery