Comparative study on interfacial oscillations of rectangular and elliptical liquid jets