check if JS is present