update rs.js to head