Corrected an issue where the attributes where not properly bound. Also removed deprecated gl__FragColor from fragment shader.