Added an improvement to jsut make the submision of the check and germplasm in 1 call, cleanup as well the js functions

Reviewer: Chezka Arrevalo (post-commit)

Issue: none