Use strict mode now, and made the application work on firefox, for easier development and debugging