Fix form js hook