fixed require js bug