Fix #910: Add support to export named parameters to JavaScript

That line should have 2 more indentation spaces, though.