ORG-1685 Added support for both head and bottom custom javascript files.