switch over to js demo