Document the different javascript writing methods
Note javascript arguments that can't be nil