edited the assay internal method form and the equation js