js fixes + keep Denise happy