cannot separate js parts