create reg check js file.