 		# load test file
 		document.getElementById('loadTestFile').addEventListener('click', (evt) =>
 			$('#loadTestFile').html('loading...&nbsp;&nbsp;<i class="icon-spinner icon-spin icon-large"></i>');
-			hostURL = 'http://' + window.location.host + window.location.pathname.substr(0, window.location.pathname.lastIndexOf('/'))
+			hostURL = window.location.protocol + '//' + window.location.host + window.location.pathname.substr(0, window.location.pathname.lastIndexOf('/'))
 			testfile = hostURL + '/data/testdata.biom'  ## Dev TODO http://phinch.org/data/testdata.biom
-			$.get(testfile, (testdata) => 
+			$.get(testfile, (testdata) =>
 				biomToStore = {}
 				biomToStore.name = 'testdata.biom'
 				biomToStore.size = 15427024


				if results.length > 10
					@clearOldEntries(results)
						
				if results.length > 0
					$('#recent').show()
					@currentData = results
					content = "<table id='recent_data'>"
					for k in [0..results.length-1]
						tk = results.length - 1 - k
						content += '<tr><td class="reload" id="reload_' + k + '">LOAD' + '</td><td>' 
						content += results[tk].name.substring(0,55) + '</td><td>' + (results[tk].size / 1000000).toFixed(1) + " MB" + '</td><td>' + results[tk].date
						content += '</td><td class="del" id="del_' + k + '"><i class="icon-fa-times icon-large"></i></td></tr>'
					content += "</table>"

			@listRecentFiles()
		)

		document.querySelector('#parse').addEventListener('click', (evt) =>
			if evt.target.tagName.toLowerCase() == 'button'
				files = document.getElementById('files').files
				@checkFile(files)
