Changed javascript canvas screen shot