Separated objects into different js files