Added missing require statements for js files