Added JS library so we don't have to use cdn version of it. JS cleaning with Airbnb and jsdoc style.