separating js