Documentation and additional demos are available online.
If you have problems setting up the code, with JavaScript errors or the code not working, see the Object Literal Tutorial.