register tile_view for desktop + refactor JS