added genres function to moviedb.js