js corrections