Updated js a bit