migrate code to use bower