Merge pull request #528 from am11/master

JavaScript: Improved condition for outlining (#526)
JSDoc: Added missing indentation. Fixed #527