Read URL parameres sent within JS source

I am in search of some way of code reduction, to write less server side code. Here is my problem:

<script type="text/javascript" src="crop-now.js?height=60&amp;width=85"></script>

The above code is a part of some html page.
Now, how can the javascript: crop-now.js read the height and weight? Also, please note that window.location.href will refer to the parent html, not this javascript.

Any suggestions?