javascript file with Add Row functionality