Adding JS/CSS code to project

Instead of calling remote sites, deploy the JS and CSS locally. Will
allow HTTPs sites to work properly.

Fixes #521
Merge pull request #531 from TheSerapher/issue-521

b