Assume script is in glass.html