change javascript function check() to jquery function
add adv recommend