adding js support