remove console log
use jQuery for detect updates, fix rails 4.1 layout bug