singly even magic square creation algorithm

JavaScript
   [  A      A+50
     A+75    A+25 ]   type magic
Source

Also in JavaScript: