Sample JavaScript Code