fixed require path for AMD