Move to bower.json, use bower-installer and add resulting lib dir to .gitignore
Put dependency main files in the right place in lib
Move some static media around while we are in the process of updating paths.