adding js context