Fixes the movies_per_page error when trying to load javascript