Update fightCustomLib.js

Added isFunction, isObject