Made dynamic ajax calls to all four .js files