native js generated