A tool for CRM 2015/2016 & D365 CE (7.0+) Online & On Premise to generate JavaScript code using the 2011 & Web API REST endpoints.
Solution downloads are found on the releases page.
Versions for CRM 2011/2013 are no longer supported but can still be found on the releases page.
If this tool helped you out at all -
View and execute the generated code