Added support for custom javascript file path (so that we can put charts in)