fixed js path for field-type