<html>
	<head>
		<title>Papa Parse Tests</title>
		<meta charset="utf-8">
		<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
		<script src="../papaparse.js"></script>

		<script src="http://chaijs.com/chai.js"></script>
		<script src="../node_modules/mocha/mocha.js"></script>

		<script>mocha.setup('bdd')</script>
		<script src="test-cases.js"></script>
	</head>
	<body>
	<div id="mocha"></div>

	<script>
		if (window.mochaPhantomJS) {
			mochaPhantomJS.run();

		} else {
			mocha.checkLeaks();
			mocha.globals(['jQuery']);
			mocha.run();
		}
	</script>
	</body>
</html>

<html>
	<head>
		<title>Papa Parse Tests</title>
		<meta charset="utf-8">
		<script src="../node_modules/mocha/mocha.js"></script>
		<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
		<script src="../papaparse.js"></script>

		<script src="http://chaijs.com/chai.js"></script>

		<script>mocha.setup('bdd')</script>
		<script src="test-cases.js"></script>
	</head>
	<body>
	<div id="mocha"></div>

	<script>
		if (window.mochaPhantomJS) {
			mochaPhantomJS.run();

		} else {
			mocha.checkLeaks();
			mocha.run();
		}
	</script>
	</body>
</html>

Load mocha as first script on test scenario
Load mocha as first script on test scenario

Also remove uneeded jQuery import

Fixes #493
