Don't crash if no docstring, and add docstring to javascript_magic