Add a javascript AI snippet.
Merge pull request #13 from AI-comp/5_javascript_AI

Add a javascript AI snippet.