adding js to timeline