updated home js