Translating PsychoPy code to Javascript & general documentation

Never mind @dvbridges this thread solved the issue already.