Update purplecoat.js

Corrected style.