adding js support back