fixed the use of define method in wax

no needed since the library does not work on nodes