added compatibility with bower