Adding js extension when requiring js files.