how to place JS-code to NewForm.aspx of a list in SharePoint 2013 APP.
In sharepoint 2010 we can use this list definition to add JS:
<List ...>
<MetaData>
...
<Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" UseDefaultListFormWebPart="False">
<WebParts>
<AllUsersWebPart WebPartZoneID="Main" WebPartOrder="1">
<![CDATA[
<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2"
xmlns:sfwp="http://schemas.microsoft.com/WebPart/v2/SimpleForm">
<Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
<TypeName>Microsoft.SharePoint.WebPartPages.SimpleFormWebPart</TypeName>
<FrameType>None</FrameType>
<Title>JS1</Title>
<sfwp:Content>ANY HTML YOU NEED HERE
</sfwp:Content>
</WebPart>
]]>
</AllUsersWebPart>
<AllUsersWebPart WebPartZoneID="Main" WebPartOrder="2">
<![CDATA[
<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
<Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
<TypeName>Microsoft.SharePoint.WebPartPages.ListFormWebPart</TypeName>
<PageType>PAGE_NEWFORM</PageType>
</WebPart>
]]>
</AllUsersWebPart>
</WebParts>
</Form>
</Forms>
</MetaData>
</List>
How to do the same for Sharepoint 2013?