adding penalty val in view
adding penalty val in js