fireEventWithJS return boolean value