Parse shell constant variables into a Javascript object.