seperated js