add call to javascript for neg number