js related usage