checking how it looks like in javascript