Resolves file copy process

The promises is only resolved when using http to get CSS file

Local css file needs to be resolved after finished copying
Update patternprimer.js
Merge pull request #10 from fin-digbil/master

Resolves file copy process