Move OPTIONS callback to routes.js
Move OPTIONS callback to routes.js