Move files to /js/models

Closes #1398