Updated Markup and Script with Demo