Transformation from the nonautonomous to standard NLS equations