yet another js fix