added browser class thanks to thematic
added wp_normalize_path function for windows