idea to hold data in hidden html instead of javascript