added more example code - javascript