js separated 2 files