cleanup rshelpers.js
Merge pull request #6 from vkarpov15/style/rshelpers-cleanup

cleanup rshelpers.js