remove threads, rails 4.0 and classified some js