Preparing applications for multiple-browser support