minor js fix.