Fix a lot of RequireJS errors (#121)