[JavaScript] Improved Code Folding support and consistency acros code blocks. #21