Adds rx dependency to package.json