more api related js