Code sample for complete app prototype. Optimized for CHROME. please go to elinakim.com/complete-prototype.html to view final version