Update javascript.md

YAML needed a - to be an array