Add jslint, break out loading svg into js file.