finished form and added webgl detection