seperated java script