I used to pull in a stock quote from finance.yahoo.com and run a calculation against the pulled data. The shortcode doesn't seem to run inside the javascript anymore, since I updated your plugin from a previous version. I don't think it likes the "brackets" in the shortcode, not sure. Below is an example:
<script type="text/javascript">// <![CDATA[
a = [wpws url="http://finance.yahoo.com/q?s=GORO.OB" selector="table:eq(0) td:eq(0)"]
b = 1.00
c = Math.round(((a-b)/b)*100)
document.write(c)
// ]]></script>