abstracted out browse/home js