controller edit, new .js file for questions write