break js classes into separate files