trainee_select ready to use

added comments on how to use trainee_select.
clear form after submitting.
fixed bug in js.