fixed js error in jquery-func.js