Added factorial and updated to pass jshint :)