Added parameter to getQuery in js/lqgen.js so the generator URL is no longer hard coded. Closes #6