Fixed bug where Javascript was not sending the requested engine