separating the code in mvc js files