configure javascript support