Fix #977: Allow to export lazy vals
Fix #971: Add JSExportAll annotation