added OBCJ action to JS function