Small version js fix