Bug fixes on the display and added more js files