Fixed JS bug where duplicated field would posse it's type

https://github.com/elliotcondon/acf4/issues/30#issuecomment-15179585
Signed-off-by: Elliot Condon <e@elliotcondon.com>