Fixed bug#9315 - No permission for js-cache directory.