Sample Javascipt