further modularizing the javascript within this project. fixing some bugs related to switching vimeo videos / button states.