Added ability to customise javascript and css paths.