Base-bs3: Add condition to load old javascript only in J2.5.x