I tried your code it gave me this error :
Microsoft Dynamics CRM Error Report Contents
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Uncaught SyntaxError: missing ) after argument list</Message>
<Line>6</Line>
<URL>/%7B636235328080000359%7D/WebResources/new_name?ver=-444613272</URL>
<PageURL>/form/page.aspx?lcid=1033&themeId=f499443d-2082-4938-8842-e7ee62de9a23&tstamp=562775&updateTimeStamp=636215421355511937&userts=131324096371955952&ver=-444613272#etc=10020&extraqs=%3fetc%3d10020&pagemode=iframe&pagetype=entityrecord&counter=1487936087177</PageURL>
<Function>anonymousror:missing)afterargumentlist</Function>
<FunctionRaw>SyntaxError: missing ) after argument list</FunctionRaw>
<CallStack>
<Function>anonymousror:missing)afterargumentlist</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36</BrowserUserAgent>
<BrowserLanguage>undefined</BrowserLanguage>
<SystemLanguage>undefined</SystemLanguage>
<UserLanguage>undefined</UserLanguage>
<ScreenResolution>1600x900</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2017-02-24T13:34:47</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{8843AA2D-56E8-E611-80D7-00155D004F8B}</OrgID>
<UserID>{A6EBB65E-56E8-E611-80D7-00155D004F8B}</UserID>
<CRMVersion>8.1.0.359</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Uncaught SyntaxError: missing ) after argument list</Message>
<Line>6</Line>
<URL>/%7B636235328080000359%7D/WebResources/new_name?ver=-444613272</URL>
<PageURL>/form/page.aspx?lcid=1033&themeId=f499443d-2082-4938-8842-e7ee62de9a23&tstamp=562775&updateTimeStamp=636215421355511937&userts=131324096371955952&ver=-444613272#etc=10020&extraqs=%3fetc%3d10020&pagemode=iframe&pagetype=entityrecord&counter=1487936087177</PageURL>
<Function>anonymousror:missing)afterargumentlist</Function>
<FunctionRaw>SyntaxError: missing ) after argument list</FunctionRaw>
<CallStack>
<Function>anonymousror:missing)afterargumentlist</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36</BrowserUserAgent>
<BrowserLanguage>undefined</BrowserLanguage>
<SystemLanguage>undefined</SystemLanguage>
<UserLanguage>undefined</UserLanguage>
<ScreenResolution>1600x900</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2017-02-24T13:34:47</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{8843AA2D-56E8-E611-80D7-00155D004F8B}</OrgID>
<UserID>{A6EBB65E-56E8-E611-80D7-00155D004F8B}</UserID>
<CRMVersion>8.1.0.359</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>