Create dynamically-selecting-method.js