More DRY and structured server-side JS files