disable javascript (re #950)