minor js fix v2