Fix Jerry style and update to the current API. JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]