2014-01-08  Sharath Kamath  <s.kamath@samsung.com>

        Fix examples by converting origin/region to javascript Arrays.

        Issue #392

        As per the specification, the origin and region for all enqueue* API
        are JavaScript arrays. Replacing Int32Arrays with Array or [] to avoid
        type errors.

        Also fix Random examples, changing the setKernelArg() in Framework.js
        to reflect WebCLKernel::setArg().

        Reviewed by Antonio.

        * WebCL/Ising/index.html:
        * WebCL/N-Field/index.html:
        * WebCL/PathIntegrals/index.html:
        * WebCL/XY/index.html: