javascript with some class