added browser files, unit tests working in chrome