some other js func