add LayeredCanvas class to public/scripts