This is a basic sample showing how to instantiate the igRating control in JavaScript.