returned js to its proper place.