fixed chaining call in lib and test to work with lodash, used CDN for extraneous scripts and styles