grouped related javascript functions into separate js files