Create viewoptions.js