Not so, you just need to be a bit cleverer.
if you are simply moving your code to a .js file, you need to make sure that the values are set on the page itself, for example...
Your .aspx file ...
grid = $find(
"<%= RadGrid1.ClientID %>"
// any other such definitions go here
In your .js file you just reference this variable.
Don't forget to mark this thread as answered.