Getting ready to extract JS so we can have multiple widgets