Adding sample Javascript.