Add model namespaces to app file for JS