javascript mvc sample