Changed file names and fixed ajax calls