Move epic editor functionality and importing back to application.js