Removing console.log.
Adding missing <html> tag.
Format code + adding require in order to load constants.
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19