Changed size units from em to vw in the base template also
Converted from $.getJSON to $.ajax