fieldType.default breaks older browser

Because `default` is a javascript keyword. Simple fixes:
1. Wrapped `default` in quotes
2. Added alternative option `defaultVal` for field definition.