ffi, bit and math are all loaded to the global table by default. There’s no need to require them as Noise.lua does. Remove those three lines.
PS While FFI is available I think it’s better and more in line with how Defold works to use a native extension. Also, FFI is not available in HTML5 builds.