Added sepaparate javascript