Scaffold out file rendering in js