 	function isCurrentMigration(version, latest){
 		if(version == latest){
 			return "currentVersion";
-		}
-	}
+		} else {
+			return "";
+		}
+	}
+	/*
 	function assignStatusClass(status, version, latest){
 		if(status.length == 0){
 			return "domigrate";

					var s="<div class='migration row " + isCurrentMigration(migration.VERSION, data.currentVersion)
						+ "'><div class='version column'>" + migration.VERSION + "</div>"
						+ "<div class='name column'>" + migration.NAME + "</div>"
						+ "<div class='actions column'><button class='" + assignStatusClass(migration.STATUS) + " migrate button-small button'>"
						+ assignStatus(migration.STATUS,  migration.VERSION, data.currentVersion) + "</button></div>"
						+ "</div>";
						ml=ml + s;
				}
				$("#migrationlist").html(ml);


	<div id="tabmigrate" class="tab">
		<section id="migrations" style="display: none;">
			<h5>Migrate:</h5>
				<div id="dangerous-actions">
					<button class="resetMigration button button-small"><i class="fa fa-exclamation-triangle"></i> Reset Database</button>
					<button class="migrateLatest button button-small"><i class="fa fa-exclamation-triangle"></i> Migrate to Latest</button>
				</div>
				<div id="migrationlist"></div>
		</section>
   </div>

