Update rust.js

Loop : else-style instead of if-style!