Mapping JavaScript Matrices to ESSL Uniforms