Adding javascript work