moved canvas javascript to own subproject