Update to JavaScript forms