JavaScript Sample