small fixes in customelements ja