Some basic js functionality calling rotten tomatoes API