Add Javascript Using objects