adding to js