Javascript Get Max From Array Of Objects Phpmyadminlocalhost