stubbing out javascript/views