web: Adapt submission component to new configuration interface
web: Add preferences.js (forgot 'git add' earlier; fixes #139)