Added support for custom javascript file path