a little code of js