Feature fielddb integration

adde a workaround for #43 so we can build with fielddb until we figure out how to make fielddb's build process result in a file which compatible with requirejs's `require`