Fix graph image generation on production

The image generation was throwing javascript errors in production due to
cross origin ajax calls.
Invoke script correctly from rake task
Merge pull request #35 from alphagov/graph-image-generation

Fix graph image generation on production