updated olx.js

reflecting changes made from shape to regularshape
also renamed property angle0 to angle