Split js into smaller files