drops extra thumb sizes, adds migration, cleans up some js