Write me a Java Script code that illustrates how to use a strategy pattern. Adapt it to a fun case of banking app system