@Alon Grod 

 

Your script include functionName mismatch it should be getProjects, make it getProjects instead of  getProjetcs

 

Also trace what has came up in alert by clicking on try it button