Update rso.js

Wrap in self executing block. Read RSO properties as soon as possible and render the results after loading.