Merge pull request #982 from gzm0/fix-export-clash

Fix #980: Protect from exported method and property conflict
Fix #910: Add support to export named parameters to JavaScript