convert to raw js