updated minor js