edit to js side of facen