add a dropdown to select btapp.js mode