Fixed the 'access control allow origin' problem.