Adding js support