Hello Nabil,
Please see if you are doing boxing and unboxing of the objects. This might be the reason of slowness in your program.
Avoid boxing and unboxing as much as possible. Secondly also see if you are adding js file references in the end of each html file. Keeping the references in the start of view files makes the downloading of page bit rusty and in turn decreases the performance.
These 2 are the most simple way to improve the performance. If these don't help you than we might have to think of something else.