Refactor js, jshint fixes; add "use strict".

visualizations/prime_spirals/js/(graphics, spirals).js
	-Conform code to fairly strict JSHint standards.
	-Add `"use strict";` expression.
	-Move `drawLine()` out of for-loop and into the top-level scope
	of `ulamSpiral()`.