jsfunction object defined