I am trying to remove an attribute from a node. I use the Dojo/Dijit bundled with Spring Roo. I am at a loss on how to sort the error below. Can anyone please help?

Here is the js code:
Code:
dojo.ready(function remAttr(){
     dojo.removeAttr('theId', 'value');
});
Here is the node I am trying to access:
Code:
<option id="theId" value="">Tous</option>
Here is the error code I get:
Code:
byId(node) is null
toString()dojo.js (ligne 14)
node = "theId"
name = "value"
remAttr()findPl...ld&form (ligne 40)
toString()dojo.js (ligne 14)
toString()dojo.js (ligne 14)
toString()dojo.js (ligne 14)
toString()dojo.js (ligne 14)
e = DOMContentLoaded