Quickstart: Sending a toast push notification (Windows Store apps using JavaScript and HTML)
This functionality would not typically be implemented using JavaScript. Select the "VB/C#/C++ and XAML" link at the upper right of this page to see the functionality explained using C#.
Build date: 9/4/2012