Adds trailing return to JS module