simplify js GET