added javascript example grammar

Nearley is fun!