updated gquery.js to maybe work in browsers