The only bad thing is that you might be forgetting to update the version number when editing the .js file :)
You might use a global variable to easily update that version number in all your code. Much like http://www.mediawiki.org/wiki/Manual:$wgStyleVersion in core.