javaScript seperated