Designering in the browser - v.messy code