A syntax like the one on JsFiddle with some tweak for Atom.
https://atom.io/packages/jsfiddle-like-syntax
Don't hesitate to make issues or request.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.