Prepopulate view for M2MJSON client-side code