Added toggleR.js