Moved JS; changed tolerance