Create main_non_db.js

This does not use the database, but is otherwise identical. Give a normal name when running.