Removed unused JS code and clarified note on demo