Create a javascript file for switching between most recent, highest voted, and trending questions