fixed javascript engine support