fix rogue js causing breakage