successfully converted to movieHelpers.js