add new is_real argument for user_decorator js function