Updated texts, removed text duplication through variables

Also optimized popup for mobile devices (no horizontal scrollbar)
Deleted unused JS code for gallery
Renamed btn-window to btn-download
diff --git a/css/colorbox.css b/css/colorbox.css
index 4bd7445..7862e1e 100644
--- a/css/colorbox.css
+++ b/css/colorbox.css
@@ -51,7 +51,7 @@
         #cboxCurrent{position:absolute; bottom:0px; left:0px; text-align:center; width:100%; color:#999;}
 		#cboxTitle{
 			position:absolute; bottom:0px; left:0;
-		    text-align:justify;
+		  text-align:justify;
 			margin-bottom:24px;
 			padding-top:5px;
 			padding-bottom:15px;
diff --git a/css/style.css b/css/style.css
index 961a431..d7e862f 100644
--- a/css/style.css
+++ b/css/style.css
@@ -374,6 +374,35 @@
 .form-success { color: #faa635; }
 
 /* ==========================================================================
+	#Popups
+========================================================================== */
+#cboxLoadedContent {
+	display: flex;
+	flex-direction: column;
+}
+
+#cboxClose {
+	margin-right: 15px;
+	color: #5d5d5d;
+}
+
+.popup-title {
+	color: #0082a1;
+	margin: 0;
+	margin-bottom: 8px;
+	flex-grow: 1;
+}
+
+.popup-iframe {
+  width: 100%;
+  flex-grow: 99;
+}
+
+iframe {
+  border: solid #5d5d5d 2px;
+}
+
+/* ==========================================================================
 	#Footer
 ========================================================================== */
 .footer { padding: 35px 0 31px;background: #0082a1; }
@@ -452,6 +481,9 @@
 
 @media (max-width: 767px) {
   #cboxTitle { visibility: hidden; }
+	#cboxLoadedContent { padding: 5px; }
+	#cboxClose { margin-right: 5px; }
+	
 	.demo-btn-mobile { visibility: hidden; }
 	.nav-mobile { display: block; }
 	.lnk-footer { font-size: 14px; }
@@ -501,39 +533,10 @@
 	.section-testimonials { padding-bottom: 20px }
 
 	.footer ul { padding-bottom: 20px; }
-
-	.footer-bar { padding: 10px; }
+  .footer-bar { padding: 10px; }
 	.footer-bar-logo { float: left; display: block; }
-	
 	.footer { padding: 10px; }
 }
 
-/* ==========================================================================
-	#Popups
-========================================================================== */
-#cboxLoadedContent {
-	display: flex;
-	flex-direction: column;
-}
 
-#cboxClose {
-	margin-right: 15px;
-	color: #5d5d5d;
-}
-
-.popup-title {
-	color: #0082a1;
-	margin: 0;
-	margin-bottom: 8px;
-	flex-grow: 1;
-}
-
-.popup-iframe {
-  width: 100%;
-  flex-grow: 99;
-}
-
-iframe {
-  border: solid #5d5d5d 2px;
-}
 
diff --git a/index.php b/index.php
index 54d2f85..88f92f6 100755
--- a/index.php
+++ b/index.php
@@ -1,4 +1,18 @@
-<!DOCTYPE html>
+<?php
+$BENEFITS = [
+  'sustainable-investment' => 'Sustainability and long-term thinking are in Scout’s genes. Over 15 years Scout has evolved into the mature and versatile ' .
+	    'web framework it is today. And the open source community around Scout is growing since 2009. This makes Scout a perfect choice for your ' .
+			'business-critical applications.',
+  'increase-productivity' => 'Scout covers many recurring requirements such as user authentication, client server communication, data binding and building rich ' . 
+	    'user interfaces. This allows the application developer to spend more time on understanding and implementing business cases.',
+  'time-to-market' => 'Scout is simple to learn, offers free access to many resources and increases developer productivity. And backed by commercial support, ' . 
+	    'Scout can help your team to meet demanding deadlines.',
+  'simple-to-learn' => 'Thanks to the tooling support and the available documentation Scout is simple to learn. Java and JavaScript developers can expect ' . 
+	    'to get started within a few days.',
+  'open-source' => 'The Scout framework is open source software and free to use for both personal and commercial projects. At the same time, Scout profits from ' . 
+	    'the world-class IP management enforced in all Eclipse projects.'
+];
+?><!DOCTYPE html>
 <html lang="en">
 <head>
 	<title>Eclipse Scout</title>
@@ -259,7 +273,7 @@
 								</div><!-- /.section-download-content -->
 
 								<div class="section-download-actions">
-									<a href="popup.php?doc=install" class="btn btn-default btn-windows">Follow the Instructions</a>
+									<a href="popup.php?doc=install" class="btn btn-default btn-download">Follow the Instructions</a>
 								</div><!-- /.section-download-actions -->
 							</div><!-- /.col-md-6 -->
 						</div><!-- /.row -->
@@ -293,7 +307,7 @@
 						</div><!-- /.row -->
 					</div><!-- /.container -->
 				</section><!-- /.section-tutorials -->
-
+			
 				<section class="section-benefits">
 					<div class="container">
 						<div class="row">
@@ -311,7 +325,7 @@
 								</div><!-- /.benefit-head -->
 
 								<div class="benefit-entry sustainable-investment">
-									<p>Sustainability and long-term thinking are in Scout’s genes. Over 10 years, Scout has evolved into the mature and versatile framework it is today. And the open source communit around Scout is growing since 2009. This makes Scout a perfect choice for your business-critical applications.</p>
+									<p><?php echo $BENEFITS['sustainable-investment']; ?></p>
 								</div><!-- /.benefit-entry -->
 							</div>
 
@@ -325,7 +339,7 @@
 								</div><!-- /.benefit-head -->
 
 								<div class="benefit-entry increase-productivity">
-									<p>Scout covers many recurring requirements such as user authentication,client server communication, data binding and building rich user interfaces. This allows the application developer to spend more time on understanding and implementing business cases. </p>
+									<p><?php echo $BENEFITS['increase-productivity']; ?></p>
 								</div><!-- /.benefit-entry -->
 							</div>
 
@@ -339,7 +353,7 @@
 								</div><!-- /.benefit-head -->
 
 								<div class="benefit-entry time-to-market">
-									<p>Scout is simple to learn, offers free access to many resources and increases developer productivity. And backed by commercial support, Scout can help your team to meet demanding deadlines. </p>
+									<p><?php echo $BENEFITS['time-to-market']; ?></p>
 								</div><!-- /.benefit-entry -->
 							</div>
 
@@ -353,7 +367,7 @@
 								</div><!-- /.benefit-head -->
 
 								<div class="benefit-entry simple-to-learn">
-									<p>Thanks to the tooling support and the available documentation Scout is simple to learn. Java developers can expect to get started within a few days. </p>
+									<p><?php echo $BENEFITS['simple-to-learn']; ?></p>
 								</div><!-- /.benefit-entry -->
 							</div>
 
@@ -367,30 +381,30 @@
 								</div><!-- /.benefit-head -->
 
 								<div class="benefit-entry open-source">
-									<p>The Scout framework is open source software and free to use for both pesonal and commercial projects. At the same time, Scout profits from the world-class IP management enforced in all Eclipse projects. </p>
+									<p><?php echo $BENEFITS['open-source']; ?></p>
 								</div><!-- /.benefit-entry -->
 							</div>
 						</div>
 
 						<div class="benefit-entries">
 							<div class="benefit-entry sustainable-investment">
-								<p>Sustainability and long-term thinking are in Scout’s genes. Over 15 years, Scout has evolved into the mature and versatile framework it is today. The open source communit around Scout is growing since 2009. This makes Scout a perfect choice for your business-critical applications.</p>
-							</div><!-- /.benefit-entry -->
-
-							<div class="benefit-entry open-source">
-								<p>The Scout framework is open source software and free to use for both pesonal and commercial projects. At the same time, Scout profits from the world-class IP management provided by the Eclipse foundation. </p>
+								<p><?php echo $BENEFITS['sustainable-investment']; ?></p>
 							</div><!-- /.benefit-entry -->
 
 							<div class="benefit-entry increase-productivity">
-								<p>Scout covers many recurring requirements such as user authentication, client server communication, data binding and building rich user interfaces. This allows the application developer to spend more time on understanding and implementing business cases. </p>
+								<p><?php echo $BENEFITS['increase-productivity']; ?></p>
 							</div><!-- /.benefit-entry -->
 
 							<div class="benefit-entry time-to-market">
-								<p>Scout is simple to learn, offers free access to many resources and increases developer productivity. Backed by commercial support, the Scout framework can help your team to meet demanding deadlines. </p>
+								<p><?php echo $BENEFITS['time-to-market']; ?></p>
 							</div><!-- /.benefit-entry -->
 
 							<div class="benefit-entry simple-to-learn">
-								<p>Thanks to its plain Java/HTML5 technology stack and the available documentation Scout is simple to learn. Java developers can expect to get started within a few days. </p>
+								<p><?php echo $BENEFITS['simple-to-learn']; ?></p>
+							</div><!-- /.benefit-entry -->
+
+							<div class="benefit-entry open-source">
+								<p><?php echo $BENEFITS['open-source']; ?></p>
 							</div><!-- /.benefit-entry -->
 						</div><!-- /.benefit-entries -->
 					</div><!-- /.container -->
diff --git a/js/main.js b/js/main.js
index 924c64b..2c6aeec 100644
--- a/js/main.js
+++ b/js/main.js
@@ -119,52 +119,34 @@
 
 		function scrollToContactForm() {
 			setTimeout(function(){
-
 				$wrapper.animate({scrollTop: $wrapper.scrollTop() + $('#contact-us').position().top - 76});
-
 			}, 200)
-
 			$win.scrollTop(0)
 		};
 
-		$('.popup-link').magnificPopup({
-			type: 'iframe',
-			mainClass: 'mfp-fade',
-			removalDelay: 160,
-			preloader: false,
-
-			fixedContentPos: false
-		});
+		var screenWidth = $(window).width();
+		var screenHeight = $(window).height();
+		var smallScreen = screenWidth <= 767;
+		var popupWidth = smallScreen ? '100%' : '90%';
+		var popupHeight = smallScreen ? (screenHeight - 30 + 'px') : '90%';
 		
-		$(".btn-windows").colorbox({
+		$(".btn-download").colorbox({
 			maxWidth: 1400,
 			maxHeight: '90%',
-			width: "90%",
-			height: "90%"
+			width: popupWidth,
+			height: popupHeight
 		});
 		
 		$(".btn-helloworld").colorbox({
 			maxWidth: 1400,
 			maxHeight: '90%',
-			width: "90%",
-			height: "90%"
+			width: popupWidth,
+			height: popupHeight
 		});
 		
-		$(".btn-gallery").colorbox({
-			maxWidth: 1400,
-			maxHeight: '90%',
-			width: "90%",
-			rel: "gallery",
-			title: function() {
-				var a_name = $(this).attr('data-title');
-				var a_desc = $(this).attr('data-description');
-				return '<p style="font-size: 1.2em; font-weight: bold;" >' + a_name + '</p> ' + a_desc;
-			}
-		});
-
 		// Section Download - Buttons Functionality
 		if (navigator.appVersion.indexOf("Win")!=-1) {
-			$('.btn-windows').addClass('current').parent().find('.btn').not('.btn-windows').css("display", "none");
+			$('.btn-download').addClass('current').parent().find('.btn').not('.btn-download').css("display", "none");
 		};
 
 		if (navigator.appVersion.indexOf("Mac")!=-1) {