Fields do not seem to work correctly on a js embedded form