 	total_skill_points -= Math.abs(Math.min(int_mod - char_lang_count, 0))
 	total_skill_points
 
-edit.build_edit_page = ->
+build_edit_page =  ->
 	set_links_part 1
 	$("#content").html "
 		<div class='dp100' style='padding-bottom: 5px;'>

				else
					$("#skill_#{skill._id}_input").val char_skill.ranks

edit.recalc_edit_page = ->
	chardata.name = $("#charname").val()
	curr_level = calc_level(chardata.xp)
	new_level = calc_level($("#xp").val())

	chardata.abilities = {}	unless chardata.abilities?
	race_html = create_select("race", races.get(), "recalc_edit_page()", false, "style='width: 75px;'")
	$("#race_select").html race_html
	align_html = ""
	alignments.forEach (alignment, i) ->
		goodness.forEach (good, j) ->
			align_html += "<option id='alignment_option_#{alignment.name}_#{good.name}' data_id='#{i},#{j}' value='#{alignment.name},#{good.name}'>#{alignment.name} #{good.name}</option>"
	
	$("#alignment").html align_html
	$("#alignment").change ->
		console.group "deity - ALIGNMENT_CHANGED"
		align_html = []
