beg of js