Fix Travis caching of JavaScript (npm, Bower) dependencies