Split js into different files