Fixed failing js test