Updated js to not calculate seed