Solve CORS issue with FF/IE Fixes #24