Typify your JavaScript functions.