added dummy code for js