Integrate more oipa JS functions