Added a working example wtih inline CSS and JS