adding instructions for JavaScript. I don't know graffle, so I kept the code simple
Merge pull request #5 from mattsnider/master

JavaScript Solution