expose glp_ios_relative_gap
Use JS Typed Array
no need to initialize js arrays