this is a mvc frame work for js